package com.cs.contract.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


/**
 * @Author：zrx
 * @Package：com.cs.cscontract.domain
 * @Project：Ruoyi
 * @name：CsTender
 * @Date：2024/11/20 11:12
 * @Filename：CsTender
 */
public class CsTender extends BaseEntity {
    private static final long serialVersionUID = -8558068736863545534L;
    @Excel(name = "招标项目ID")
    private Integer sid;
    @Excel(name = "采购计划序号")
    private String xyId;
    @Excel(name = "招标项目编号")
    private String iNumber;
    @Excel(name = "招标项目名称")
    private String iName;
    @Excel(name = "项目负责人")
    private String pLeader;
    @Excel(name = "招标方式")
    private Integer iWay;
    @Excel(name = "是否必招")
    private Integer must;
    @Excel(name = "资格审查方式")
    private Integer sWay;
    @Excel(name = "业务类型")
    private Integer bType;
    @Excel(name = "项目预算")
    private BigDecimal pBudget;
    @Excel(name = "招标单位")
    private String iUnit;
    @Excel(name = "联系人")
    private String person;
    @Excel(name = "电话")
    private String phone;
    @Excel(name = "邮箱")
    private String email;
    @Excel(name = "地址")
    private String address;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "公示开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "公示结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @Excel(name = "项目状态   1：招标公告   2：立项中")
    private Integer projectState;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报价截止时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date deadline;
    @Excel(name = "合同ID")
    private Integer eid;
    @Excel(name = "附件")
    private String files;
    private List<CsNotice> csNotices;

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getXyId() {
        return xyId;
    }

    public void setXyId(String xyId) {
        this.xyId = xyId;
    }

    public String getiNumber() {
        return iNumber;
    }

    public void setiNumber(String iNumber) {
        this.iNumber = iNumber;
    }

    public String getiName() {
        return iName;
    }

    public void setiName(String iName) {
        this.iName = iName;
    }

    public String getpLeader() {
        return pLeader;
    }

    public void setpLeader(String pLeader) {
        this.pLeader = pLeader;
    }

    public Integer getiWay() {
        return iWay;
    }

    public void setiWay(Integer iWay) {
        this.iWay = iWay;
    }

    public Integer getMust() {
        return must;
    }

    public void setMust(Integer must) {
        this.must = must;
    }

    public Integer getsWay() {
        return sWay;
    }

    public void setsWay(Integer sWay) {
        this.sWay = sWay;
    }

    public Integer getbType() {
        return bType;
    }

    public void setbType(Integer bType) {
        this.bType = bType;
    }

    public BigDecimal getpBudget() {
        return pBudget;
    }

    public void setpBudget(BigDecimal pBudget) {
        this.pBudget = pBudget;
    }

    public String getiUnit() {
        return iUnit;
    }

    public void setiUnit(String iUnit) {
        this.iUnit = iUnit;
    }

    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getProjectState() {
        return projectState;
    }

    public void setProjectState(Integer projectState) {
        this.projectState = projectState;
    }

    public Date getDeadline() {
        return deadline;
    }

    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String getFiles() {
        return files;
    }

    public void setFiles(String files) {
        this.files = files;
    }

    public List<CsNotice> getCsNotices() {
        return csNotices;
    }

    public void setCsNotices(List<CsNotice> csNotices) {
        this.csNotices = csNotices;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("sid", sid)
                .append("xyId", xyId)
                .append("iNumber", iNumber)
                .append("iName", iName)
                .append("pLeader", pLeader)
                .append("iWay", iWay)
                .append("must", must)
                .append("sWay", sWay)
                .append("bType", bType)
                .append("pBudget", pBudget)
                .append("iUnit", iUnit)
                .append("person", person)
                .append("phone", phone)
                .append("email", email)
                .append("address", address)
                .append("startTime", startTime)
                .append("endTime", endTime)
                .append("projectState", projectState)
                .append("deadline", deadline)
                .append("eid", eid)
                .append("files", files)
                .append("csNotices", csNotices)
                .toString();
    }
}
